home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / Data.cab / _02677C8877124911B8CB04793A344DEE < prev    next >
Encoding:
Text File  |  2003-11-04  |  1.5 KB  |  64 lines

  1. light("omni")
  2. {
  3.     pass()
  4.     {
  5.         tmu()
  6.         {
  7.             Texture()
  8.             {
  9.                 Image(TEXTURE1)
  10.             }
  11.             colorop("mul", "texture", "tfactor", "current")
  12.             alphaop("mul", "texture", "tfactor", "current")
  13.         }
  14.         tmu()
  15.         {
  16.             Texture()
  17.             {
  18.                 Image(TEXTURE2)
  19.             }
  20.             colorop("mul", "texture", "current", "current")
  21.             alphaop("mul", "texture", "current", "current")
  22.         }
  23.  
  24.         tmu()
  25.         {
  26.             texture()
  27.             {
  28.                 image("dynlight2d.png")
  29.                 addressfunc("clamp", "clamp", "clamp")
  30.                 filtering("linear_no_mip")
  31.             }
  32.  
  33.             texgen("dynlight2d")
  34.  
  35.             colorop("mul", "texture", "current", "current")
  36.             alphaop("mul", "texture", "current", "current")
  37.         }
  38.  
  39.         tmu()
  40.         {
  41.             texture()
  42.             {
  43.                 image("dynlight1d.png")
  44.                 addressfunc("clamp", "clamp", "clamp")
  45.                 filtering("linear_no_mip")
  46.             }
  47.  
  48.             texgen("dynlight1d")
  49.  
  50.             colorop("mul", "texture", "current", "current")
  51.             alphaop("mul", "texture", "current", "current")
  52.         }
  53.  
  54.         tfactor(1,1,1,1)
  55.         colorgen("tfactor", "user", 0,0,0, "user", 0,0,0)
  56.  
  57.         blendfunc("one", "one")
  58.         depthfunc("lequal", 0)
  59.  
  60.         blackfog()
  61.     }
  62. }
  63.  
  64.